home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / orbit-1.0 / ORBitutil / os-feature-alloca.h < prev    next >
Encoding:
C/C++ Source or Header  |  2005-10-20  |  494 b   |  27 lines

  1. #ifndef OS_FEATURE_ALLOCA_H
  2. #define OS_FEATURE_ALLOCA_H 1
  3.  
  4. #  if ORBIT_HAVE_ALLOCA_H
  5. #  include <alloca.h>
  6. #  endif
  7.  
  8. #  include <string.h>
  9.  
  10. #  if defined(__GNUC__)
  11.  
  12. #    if defined(__STRICT_ANSI__) && !defined(alloca)
  13. #      define alloca __builtin_alloca
  14. #    endif
  15.  
  16. #  elif !(ORBIT_HAVE_ALLOCA_H)
  17.  
  18. #    if defined(_AIX)
  19.  #pragma alloca
  20. #    elif !defined(alloca) /* predefined by HP cc +Olibcalls */
  21. char *alloca ();
  22. #    endif
  23.  
  24. #  endif /* __GNUC__ etc. */
  25.  
  26. #endif /* OS_FEATURE_ALLOCA_H */
  27.